var CapsuleScript = (function (_super) {

    function CapsuleScript() {
        ThornScript.super(this);
        this.capsule = null;
     
    }
    
    Laya.class(CapsuleScript, "CapsuleScript", _super);


    CapsuleScript.prototype._load = function (owner) {
        this.capsule = owner;
    }

    /**
     * 脚本帧循环更新
     */
    CapsuleScript.prototype._update = function (state) {
        if(GameSceneObj.isPause) return;
        
        this.capsule.transform.rotate(new Laya.Vector3(0,1,0), true, false);
  
    }
    CapsuleScript.prototype.setBaseData = function () {
      
    }

    return CapsuleScript;
})(Laya.Script);